home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CICA Windows Explosion!
/
The CICA Windows Explosion! - Disc 2.iso
/
patches
/
wfx401.exe
/
DOSPATCH.BAT
next >
Wrap
DOS Batch File
|
1994-04-22
|
2KB
|
68 lines
@ECHO OFF
IF "%1"=="/?" GOTO FIRST
IF "%1"=="" GOTO FIRST
IF EXIST %1\FAXMNG.EXE GOTO BEGIN
ECHO ******************************************************
ECHO The WinFax PRO 4.0 directory you specified is invalid.
ECHO ******************************************************
GOTO HELP
:BEGIN
CLS
IF NOT EXIST ENABLE.RTP GOTO P_ERROR
IF NOT EXIST PATCHER.EXE GOTO P_ERROR
CLS
ECHO The patch process is about to begin, please be sure that you
ECHO have completely exited Windows and are not running this patch
ECHO from within a DOS session.
ECHO.
ECHO If you are unsure, press CTRL-C now to stop the upgrade, otherwise:
ECHO.
PAUSE
ECHO.
ECHO You may see some warning messages appear on your screen while the
ECHO patch is running. These are normal and may be ignored.
ECHO.
ECHO Patching files, Please wait ...
ECHO.
PATCHER /V /I %1 ENABLE.RTP >NUL
ECHO.
ECHO Patch process ended.
ECHO.
GOTO END
:P_ERROR
ECHO.
ECHO ======================
ECHO Patch file(s) missing!
ECHO ======================
ECHO.
ECHO One of the required patch files was not found in your current
ECHO working directory. In order for the patch to run successfully,
ECHO all patch files must be present and in your current working
ECHO directory.
ECHO.
ECHO.
ECHO Check the README.1ST file for a complete list of required files.
ECHO.
ECHO One or both of the following files is missing:
ECHO.
ECHO PATCHER.EXE or ENABLE.RTP
ECHO.
GOTO END
:FIRST
ECHO.
ECHO WinFax PRO 4.0 upgrade patch (via DOS)
ECHO ======================================
:HELP
ECHO.
ECHO Usage: DOSPATCH { WinFax PRO 4.0 directory }
ECHO.
ECHO Example: DOSPATCH C:\WINFAX
ECHO.
GOTO END
:END